<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>v-text和v-html示例</title>
    <script src="https://cdn.jsdelivr.net/npm/vue@2.6.12"></script>
</head>
<body>
    <div id="app">
        <p>***{message}***</p>
        <p v-text="message">******</p>
        <p v-text="Html">******</p>
        <p v-html="Html">******</p>
    </div>

    <script>
      new Vue({
          el:"#app",
          data:{
              message:'hello world!',
              Html:'<h3 style="color:blue">Vue是现在最流行的框架之一</h3>'
          }
      });
    </script>
</body>
</html>
